class Animal {
  move() {
    console.log('我在移动！');
    
  }
}
class Dog extends Animal {
  bark() {
    console.log('汪！');
    
  }
}
const dd = new Dog()
dd.move()
dd.bark()